﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CLEX.Service.DataContracts;

namespace CLEX.Database.DAL
{
    public interface IDatabaseDAL
    {
        void Delete(int databaseId);
        int Insert(int userId, string connectionString);
        List<DatabaseData> Select();
        DatabaseData SelectByDatabaseId(int databaseId);
        void Update(DatabaseData database);
        List<DatabaseData> SelectByUserId(int userId);
    }
}
